<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Instant VSCode-{{$id}}</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        html,
        body {
            height: 100%;
            width: 100%;
            overflow: hidden;
        }
        iframe {
            border: 0;
        }
    </style>
</head>
<body>
    <iframe id="codeserver" width="100%" height="100%" src = "{{$url}}"></iframe>
</body>
<script>
    //$("#code-server").contents().find("h4").text("Test");
    /*var iframe = document.getElementById("codeserver");
    if (iframe.attachEvent) {
        iframe.attachEvent("onload", function() {
            iframe.contentWindow.document.getElementById('password').value = "123";
        });
    } else {
        iframe.onload = function() {
            iframe.contentWindow.document.getElementById('password').value = "123";
        };
    }*/
</script>
</html>